'use strict';
exports.main = async (event, context) => {
	//event为客户端上传的参数
	console.log('event : ', event)
	const apiUrl = "https://api.ixiaowai.cn/api/api.php?return=json"
	const res = await uniCloud.httpclient.request(apiUrl,{
		method:"GET",
		contentType:"json",
		data:{},
		dataType:"text"
		
	})
	console.log(">>>>Res",res)
	//返回数据给客户端
	return res
};
